package net.begincode.admin.bean;

import com.google.common.base.Preconditions;

import java.io.Serializable;

public class UserIdParam implements ParamCheck,Serializable {
    private static final long serialVersionUID = -3303214891020489987L;
    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public void checkParam() {
        Preconditions.checkNotNull(userId,"userId not null");
    }
}
